﻿
Public Class Settings

    Private DownloadDirectory As String
    Private ExistingFileHandling As FTP.FTP.FileAction
    Private UpdateCheck As Boolean
    Private PreventStandy As Boolean
    Private CreateDownloadDir As Boolean
    Private CreateDownloadDirUseFilename As Boolean
    Private CreateDownloadDirUseDescription As Boolean
    Private MaxDownloadThreads As Integer


    Private Send2Tray As Boolean

    Private UnRARAfterDownload As Boolean
    Private DeleteAfterUnRAR As Boolean
    Private UseUnRARPasswordList As Boolean
    Private UnRARPasswordList As List(Of String)

    Private ShowSpeedReportAfterDownload As Boolean
    Private SpeedreportUsername As String
    Private SpeedreportConnection As String
    Private SpeedreportComment As String
    Private SpeedreportTemplate As String

    Private ClicknLoad As Boolean


    Public Property GetSetDownloadDirectory As String
        Set(value As String)
            DownloadDirectory = value
        End Set
        Get
            Return DownloadDirectory
        End Get
    End Property

    Public Property GetSetExistingFileHandling As FTP.FTP.FileAction
        Set(value As FTP.FTP.FileAction)
            ExistingFileHandling = value
        End Set
        Get
            Return ExistingFileHandling
        End Get
    End Property

    Public Property GetSetUpdateCheck As Boolean
        Set(value As Boolean)
            UpdateCheck = value
        End Set
        Get
            Return UpdateCheck
        End Get
    End Property

    Public Property GetSetPreventStandby As Boolean
        Set(value As Boolean)
            PreventStandy = value
        End Set
        Get
            Return PreventStandy
        End Get
    End Property

    Public Property GetSetCreateDownloadDirUseDescription As Boolean
        Set(value As Boolean)
            CreateDownloadDirUseDescription = value
        End Set
        Get
            Return CreateDownloadDirUseDescription
        End Get
    End Property

    Public Property GetSetCreateDownloadDirUseFilename As Boolean
        Set(value As Boolean)
            CreateDownloadDirUseFilename = value
        End Set
        Get
            Return CreateDownloadDirUseFilename
        End Get
    End Property

    Public Property GetSetCreateDownloadDir As Boolean
        Set(value As Boolean)
            CreateDownloadDir = value
        End Set
        Get
            Return CreateDownloadDir
        End Get
    End Property

    Public Property GetSetSend2Tray As Boolean
        Set(value As Boolean)
            Send2Tray = value
        End Set
        Get
            Return Send2Tray
        End Get
    End Property

    Public Property GetSetUnRARAfterDownload As Boolean
        Set(value As Boolean)
            UnRARAfterDownload = value
        End Set
        Get
            Return UnRARAfterDownload
        End Get
    End Property

    Public Property GetSetDeleteAfterUnRAR As Boolean
        Set(value As Boolean)
            DeleteAfterUnRAR = value
        End Set
        Get
            Return DeleteAfterUnRAR
        End Get
    End Property

    Public Property GetSetUseUnRARPasswordList As Boolean
        Set(value As Boolean)
            UseUnRARPasswordList = value
        End Set
        Get
            Return UseUnRARPasswordList
        End Get
    End Property

    Public Property GetSetUnRARPasswordList As List(Of String)
        Set(value As List(Of String))
            UnRARPasswordList = value
        End Set
        Get
            Return UnRARPasswordList
        End Get
    End Property

    Public Property GetSetShowSpeedreportAfterDownload As Boolean
        Set(value As Boolean)
            ShowSpeedReportAfterDownload = value
        End Set
        Get
            Return ShowSpeedReportAfterDownload
        End Get
    End Property

    Public Property GetSetSpeedreportUsername As String
        Set(value As String)
            SpeedreportUsername = value
        End Set
        Get
            Return SpeedreportUsername
        End Get
    End Property

    Public Property GetSetSpeedreportConnection As String
        Set(value As String)
            SpeedreportConnection = value
        End Set
        Get
            Return SpeedreportConnection
        End Get
    End Property

    Public Property GetSetSpeedreportComment As String
        Set(value As String)
            SpeedreportComment = value
        End Set
        Get
            Return SpeedreportComment
        End Get
    End Property

    Public Property GetSetSpeedreportTemplate As String
        Set(value As String)
            SpeedreportTemplate = value
        End Set
        Get
            Return SpeedreportTemplate
        End Get
    End Property

    Public Property GetSetClicknLoad As Boolean
        Set(value As Boolean)
            ClicknLoad = value
        End Set
        Get
            Return ClicknLoad
        End Get
    End Property

    Public Property GetSetMaxDownloadThreads As Integer
        Set(value As Integer)
            MaxDownloadThreads = value
        End Set
        Get
            Return MaxDownloadThreads
        End Get
    End Property

End Class
